<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@ page contentType="text/html;charset=utf-8"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="<%= request.getContextPath() + "/css/bloques.css" %>"
	rel="stylesheet" type="text/css">
<link href="<%= request.getContextPath() + "/css/table.css" %>"
	rel="stylesheet" type="text/css">
<title>ModuloDominio</title>

<script type="text/javascript">
 function enviar(locacion){
  document.frmVFL.action=locacion;
  document.frmVFL.submit();
 }
 
 
</script>

</head>
<body>



	<form name="frmVFL" method="get">

		<table align="center" cellspacing="3" cellpadding="2" border="0"
			width="4%">

			<tr>
				<td width="40%" class="celdatabla" align="center" colspan="2">
					<STRONG>Valores de la Lista</STRONG>
				</td>

			</tr>

			<tr>

				<td width="25%" class="celdatabla" align="center"><STRONG>Codigo</STRONG>
				</td>
				<td width="25%" class="celdatabla" align="center"><STRONG>Nombre</STRONG>
				</td>


			</tr>
			<% 
     for(int i=1;i<8;i++)
      {    
%>
			<tr>

				<td width="25%" align="center"><input NAME="codigo<%=i%>"
					Class="form" size="10" type="text" maxlength="10" /></td>
				<td width="25%" align="center"><input NAME="descripcion<%=i%>"
					Class="form" size="25" type="text" maxlength="24" /></td>

			</tr>
			<% 
     }
%>

		</table>
		</DIV>
		<br>
		<DIV align="center">
			<P>
				<input type="hidden" name="dom" value="2" /> <input type="hidden"
					name="codatributo" value="<%=request.getParameter("codatributo")%>" />
				<%  String Ruta = "'"+request.getContextPath() + "/GuardarDominioAdicional.do'";
      %>
				<input type="BUTTON" value="Guardar" onclick="enviar(<%=Ruta%>)" />

				<%
          String Ruta2 = "'"+request.getContextPath() + "/AdicionInsertDominio.do'";
        %>
				<input type="BUTTON" value="Adicionar" onclick="enviar(<%=Ruta2%>)" />
				<%       String regresar = request.getParameter("mostregresar");              
        if(regresar.equals("2"))
        {
%>
			</P>
			<P>
				<a href="javascript:window.history.back()"> <img
					src="<%=request.getContextPath() + "/images/b_atras.gif"%>"
					border="0" />
				</a>
				<%        }%>
				<input type="hidden" name="mostregresar" value="1" />
			</P>



		</DIV>


	</form>
</body>
</html>